local saiqianxiang_skill = fk.CreateSkill {

  name = "saiqianxiang_skill",

  tags = {  },

}



saiqianxiang_skill:addEffect("cardskill", {
  prompt = "#saiqianxiang_skill",
  max_target_num = 2,
  min_target_num = 1,
  target_filter =function (self, player, to_select, selected, selected_cards)
    return #selected < 2 and to_select~=player and not to_select:isNude()
  end,
  on_effect = function(self, room, effect)
    local player = effect.from
    local target = effect.to
    if target:isNude() then
      return true
    end
    local card = room:askForCard(target, 1, 1, true, saiqianxiang_skill.name, false)
    room:obtainCard(player, card, true, fk.ReasonPrey, player, saiqianxiang_skill.name, "@@thb_mingpai")
  end,
})

return saiqianxiang_skill